﻿/* 
 * Since 2008 - 2012
 */

package com.hh.bss.talent.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hh.bss.base.BaseBusinessService;
import com.hh.bss.base.EntityDao;
import com.hh.bss.common.page.Page;
import com.hh.bss.talent.dao.CvTrainningDao;
import com.hh.bss.talent.entity.CvTrainning;
import com.hh.bss.talent.service.CvTrainningService;
import com.hh.bss.talent.vo.query.CvTrainningQuery;


@Service
@Transactional
public class CvTrainningServiceImpl extends BaseBusinessService<CvTrainning,java.lang.Integer>  implements CvTrainningService<CvTrainning,java.lang.Integer>{

	private CvTrainningDao cvTrainningDao;
	/**增加setXXXX()方法,spring就可以通过autowire自动设置对象属性,请注意大小写*/
	public void setCvTrainningDaoImpl(CvTrainningDao dao) {
		this.cvTrainningDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.cvTrainningDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(CvTrainningQuery query) {
		return cvTrainningDao.findPage(query);
	}
	
}
